//
//  GRRiceCodeCell.h
//  YC_GRice
//
//  Created by luojinrong11 on 2018/9/7.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GRGoodDetail.h"
#import "GRRiceOrderModel.h"
#import "GROrderManagerProto.h"
@protocol GRRiceCodeCellDelegate <NSObject>
-(void)detailOrderWithOrderType:(RiceOrderActionType)orderType orderModel:(GRRiceOrderModel *)orderModel;
@end


@interface GRRiceCodeCell : UITableViewCell<GoodsDetailCellDelegate>

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *codeLabel;

@property (weak, nonatomic) IBOutlet UIImageView *codeImageView;

@property (weak, nonatomic) IBOutlet UIView *commentView;
@property (weak, nonatomic) IBOutlet UIButton *commentBt;

@property (weak, nonatomic) IBOutlet UILabel *tipLabel;

@property (weak, nonatomic) IBOutlet UIView *tipView;
@property (weak, nonatomic) IBOutlet UIView *useView;
@property(nonatomic,assign)id <GRRiceCodeCellDelegate> delegate;
@property(nonatomic,strong)    GRRiceOrderModel * orderModel;

@end
